// 2013-8-1下午12:36:01  net.betou.trade.main.dao.impl.UserExtDaoImpl.java

package net.betou.trade.main.dao.impl;

import net.betou.common.hibernate3.HibernateBaseDao;
import net.betou.trade.entity.main.UserExt;
import net.betou.trade.main.dao.UserExtDao;

import org.springframework.stereotype.Repository;

/**
 * 
 * @author 叶装装
 */
@Repository
public class UserExtDaoImpl extends HibernateBaseDao< UserExt, Integer > implements UserExtDao{

	@Override
	protected Class< UserExt > getEntityClass( ) {
		return UserExt.class;
	}

	public UserExt findById( Integer id ) {
		return get( id );
	}

	public UserExt save( UserExt bean ) {
		getSession( ).save( bean );
		return bean;
	}

}
